<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .div{
            width: auto;
            height: 0;
            border: 1px red none;
          
        }
        li{
            margin: 50px;
        }
        .a{
            background-color: aquamarine;
            width: 100px;
            height: 100px;
            transform: rotateX(60deg);/*根2D的x，y一样。加入了z轴*/
        }
        .b{
            background-color: black;
            width: 100px;
            height: 100px;
            transform: rotateX(40deg) rotateY(10deg) rotateZ(60deg);
        }
        .c{
        background-color: aqua;
        width: 200px;
        height: 200px;
        transform-origin: top right;
        }
        .d{
            background-color: brown;
            width: 100px;
            height: 100px;
            transform: rotateY(60deg);
            transform-style: preserve-3d;
            -webkit-transform: rotateY(60deg);
            -webkit-transform-style: preserve-3d;
        }
        .e{
            background-color: rgb(115, 231, 6);
            width: 100px;
            height: 100px;
            perspective: 200;
            -webkit-perspective: 300;
        }
        .f{
            position:relative;
height:60px;
width:60px;
border:1px solid #000;
background-color:yellow;
transform:rotateY(180deg);
-webkit-transform:rotateY(180deg); /* Chrome and Safari */
-moz-transform:rotateY(180deg); /* Firefox */
        }
        #f{
            backface-visibility:hidden;
-moz-backface-visibility:hidden;
-ms-backface-visibility:hidden;
}
        
        .g{
            position:relative;
height:60px;
width:60px;
border:1px solid #000;
background-color:yellow;
transform:rotateY(180deg);
-webkit-transform:rotateY(180deg); /* Chrome and Safari */
-moz-transform:rotateY(180deg); /* Firefox */
}
        #g{
            backface-visibility:visible;
backface-visibility:visible;
backface-visibility:visible;
        }
    </style>
</head>
<body>
    <div class="div">
        <ul>
            <li class="a">相爱很难</li>
            <li class="b">梅艳芳</li>
            <li class="c">张学友</li>
            <li class="d">是摆烂的</li>
            <li class="e"> 是</li>
            <li class="f">好的</li>
            <li  class="g">f</li>

        </ul>
    </div>
</body>
</html>